<admintpl file="header" />
<style>
	*{margin:0; padding:0;}
	body{font-family: "Microsoft Yahei", "hiragino sans gb", Helvetica, Arial, Tahoma;}
	.shdo{position: fixed; left:0; top:0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 10; display: none;}
	.stan-box{padding:10px 20px; width: 400px; max-height: 500px; background: #fff; position: fixed; left:100px; top:100px; z-index: 11; display: none;}
	.simgBox{max-height: 440px; overflow: auto; text-align: center;}
	.simgBox img{}
	.stit{height: 30px;}
	.stit .yuan{font-size: 14px;}
	.stit .cuo{display: block; width: 20px; height: 20px; color: #fff; background: #007aff; line-height: 20px; text-align: center; position: absolute; right:0; top:0; cursor: pointer;}
	.sbot{height: 30px; }
	.sbot span{height: 26px; line-height: 26px; width: 50px; font-size: 12px; color: #fff;  background: #007aff;  float: right; text-align: center; border-radius: 2px;margin-top: 6px; cursor: pointer;}
	.tanimg{cursor:pointer;}
    .aBtnInput{display: inline-block; padding:0 2px; background: #f1f1f1; border:1px solid #a5a5a5; border-radius: 2px; }
    .aBtnInput:link,.aBtnInput:visited,.aBtnInput:hover,.aBtnInput:active{text-decoration: none;color: #333;}
	.c-pages{padding:20px 0; text-align: center;}
	.c-pages.tl{text-align: left;}
	.c-pages span{display: inline-block; margin-right: 5px; font-size:12px; height:28px; line-height: 28px;}
	.c-pages span.col{color: #fe344e; font-weight: 600;}
	.c-pages span a{display: inline-block; margin:0 3px; height:28px; line-height: 28px; text-align: center; padding:0 12px; border:1px solid #ccc; text-decoration: none; border-radius: 2px;}
	.c-pages span a:link,.c-pages span a:active,.c-pages span a:visited{color: #333;}
	.c-pages span a:hover{ color: #ff8540; }
	.c-pages span a.active{color: #fff; background: #ff8540;}
	.c-pages  .current{ color: #fff; background: #ff8540; display: inline-block; margin: 0 3px; height: 28px;
		line-height: 28px;
		text-align: center;
		padding: 0 12px;
		text-decoration: none;
		border-radius: 2px;
	}
</style>
</head>
<body>
<div class="wrap js-check-wrap">
	<ul class="nav nav-tabs">
		<li class="active"><a>个人投注记录</a></li>
		<li class=""><a href="{:U('Report/shuju_cz',array('id'=>$uid))}">个人充值记录</a></li>
		<li class=""><a href="{:U('Report/shuju_tx',array('id'=>$uid))}">个人提现记录</a></li>
		<li class=""><a href="{:U('Report/shuju_jy',array('id'=>$uid))}">个人交易明细</a></li>
	</ul>

		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th style="text-align: center">彩种</th>
					<th style="text-align: center">期号</th>
					<th style="text-align: center">投注内容</th>
					<th style="text-align: center">投注金额</th>
					<th style="text-align: center">开奖号码</th>
					<th style="text-align: center">奖金状态</th>
					<th style="text-align: center">投注时间</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="arr" item="v">
					<tr>
						<td style="color: rgb(74, 169, 219); text-align: center"">{$v.classname}</td>
						<td  style="text-align: center">{$v.issue}</td>
						<td  style="text-align: center">
							<div>
								<?php if($v["table"]=='1'){echo $a1[$v['id']];}
                                        elseif($v["table"]=='2'){echo $a2[$v['id']];}
                                        elseif($v["table"]=='3'){echo $a3[$v['id']];}
                                        elseif($v["table"]=='4'){echo $a4[$v['id']];}
                                        elseif($v["table"]=='5'){echo $a5[$v['id']];}
                                        elseif($v["table"]=='6'){echo $a6[$v['id']];}
                                        ;?>
							</div>
						</td>
						<td  style="text-align: center"><?php echo sprintf("%.2f",$v['money']); ?></td>
						<td  style="text-align: center">
							<div class="betNum" data-qzhu="{$v.opencode}">
								<?php if(trim($v['opencode'])==""){echo "----";}else{echo $v['opencode'];} ?>
							</div>
						</td>
						<td style="color: rgb(228, 57, 60);text-align: center">
							<?php if(trim($v["opencode"])==''){echo "等待开奖";}
                                     elseif($v['zong_money'] > 0 && $v['opencode']!=''){echo sprintf("%.2f",$v['zong_money']);}
							elseif($v["zong_money"] == 0 && $v["opencode"]!=''){echo "未中奖";} ;?>
						</td>

						<td  style="text-align: center"><?php echo date("Y-m-d H:i:s",$v["ctime"]);?></td>
					</tr>
				</foreach>
			</tbody>
		</table>
</div>
<div class="c-pages tc">
	<span>{$page}第{$p}页/共{$totalpage}页</span>
</div>
</body>
</html>
<script src="__PUBLIC__/js/common.js"></script>